home *** CD-ROM | disk | FTP | other *** search
/ PC Home 109 / PC Home 109.iso / data1.cab / Program_Files / gmmenu.dxr / 00004.ls next >
Encoding:
Text File  |  2001-03-02  |  2.8 KB  |  93 lines

  1. on exitFrame
  2.   repeat with n = 18 to 21
  3.     handcursor(n)
  4.   end repeat
  5.   set o to random(400)
  6.   if o = 2 then
  7.     if soundBusy(2) then
  8.       nothing()
  9.     else
  10.       sound playFile 2, "Oth004.wav"
  11.     end if
  12.   end if
  13.   set n to random(15)
  14.   if n = 6 then
  15.     set the visible of sprite 11 to 1
  16.     updateStage()
  17.   else
  18.     set the visible of sprite 11 to 0
  19.   end if
  20.   set y to random(15)
  21.   if y = 2 then
  22.     set the visible of sprite 12 to 1
  23.     updateStage()
  24.   else
  25.     set the visible of sprite 12 to 0
  26.   end if
  27.   set x to random(15)
  28.   if x = 13 then
  29.     set the visible of sprite 13 to 1
  30.     updateStage()
  31.   else
  32.     set the visible of sprite 13 to 0
  33.   end if
  34.   if rollOver(18) then
  35.     set the width of sprite 28 to the width of sprite 28 + 20
  36.     set the height of sprite 28 to the height of sprite 28 + 5
  37.   else
  38.     set the width of sprite 28 to the width of sprite 28 - 20
  39.     set the height of sprite 28 to the height of sprite 28 - 5
  40.   end if
  41.   if the width of sprite 28 = -33 then
  42.     set the width of sprite 28 to the width of sprite 28 + 20
  43.   end if
  44.   if the width of sprite 28 = 207 then
  45.     set the width of sprite 28 to the width of sprite 28 - 20
  46.   end if
  47.   if the height of sprite 28 = 52 then
  48.     set the height of sprite 28 to the height of sprite 28 - 5
  49.   end if
  50.   if the height of sprite 28 = -8 then
  51.     set the height of sprite 28 to the height of sprite 28 + 5
  52.   end if
  53.   if rollOver(19) then
  54.     set the width of sprite 29 to the width of sprite 29 + 20
  55.     set the height of sprite 29 to the height of sprite 29 + 5
  56.   else
  57.     set the width of sprite 29 to the width of sprite 29 - 20
  58.     set the height of sprite 29 to the height of sprite 29 - 5
  59.   end if
  60.   if the width of sprite 29 = -5 then
  61.     set the width of sprite 29 to the width of sprite 29 + 20
  62.   end if
  63.   if the width of sprite 29 = 215 then
  64.     set the width of sprite 29 to the width of sprite 29 - 20
  65.   end if
  66.   if the height of sprite 29 = 42 then
  67.     set the height of sprite 29 to the height of sprite 29 - 5
  68.   end if
  69.   if the height of sprite 29 = -8 then
  70.     set the height of sprite 29 to the height of sprite 29 + 5
  71.   end if
  72.   if rollOver(20) then
  73.     set the width of sprite 30 to the width of sprite 30 + 20
  74.     set the height of sprite 30 to the height of sprite 30 + 5
  75.   else
  76.     set the width of sprite 30 to the width of sprite 30 - 20
  77.     set the height of sprite 30 to the height of sprite 30 - 5
  78.   end if
  79.   if the width of sprite 30 = -33 then
  80.     set the width of sprite 30 to the width of sprite 30 + 20
  81.   end if
  82.   if the width of sprite 30 = 187 then
  83.     set the width of sprite 30 to the width of sprite 30 - 20
  84.   end if
  85.   if the height of sprite 30 = 47 then
  86.     set the height of sprite 30 to the height of sprite 30 - 5
  87.   end if
  88.   if the height of sprite 30 = -8 then
  89.     set the height of sprite 30 to the height of sprite 30 + 5
  90.   end if
  91.   go(the frame)
  92. end
  93.